<template>
  <Input search   v-model="modal"  :placeholder="placeholder" />
</template>

<script>
export default {
name:'searchInput',
components:{},
  props:{
         placeholder:{
          type:String,
          default:'请输入'
      },
  },
  data(){
    return {
        modal:''
    }
  },
  watch:{
      value(val) {
                this.modal = val;
            },
            modal(val){
                this.$emit("input",val);
            }
  },
  computed:{},
  methods:{},
  created(){},
  mounted(){}
}
</script>
<style lang="less" scoped>

</style>